import React, { Component } from 'react'
import { HashRouter,Route} from 'react-router-dom'
import User from './pages/user/user'
import course from './pages/course/course'
import safe from './pages/safe/safe'
import info from './pages/info/info'
import msg from './pages/msg/msg'
import details from './pages/details/details'


export default class Tabs extends Component {
  render() {
    return (
      <HashRouter>
          <User>
            <Route path='/course' component={course}></Route>
            <Route path='/safe' component={safe}></Route>
            <Route path='/info' component={info}></Route>
            <Route path='/msg' component={msg}></Route>
            <Route path='/details' component={details}></Route>
          </User>
      </HashRouter>
    )
  }
}
